home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-09-05 | 882 b | 35 lines | [TEXT/RLAB] |
- solve:
-
- Syntax: solve ( A , B )
- solve ( A , B , TYPE )
-
- Description:
-
- Solve solves a system of linear equations:
-
- A * X = B, A is the coefficient matrix
- B is the right hand side
- X is the solution
-
- where A is the 1st, and B is the 2nd argument to solve(). The
- columns of B are the individual right hand sides.
-
- Solve returns a matrix of the solutions, where each column
- of the solution corresponds to a column of B.
-
- Solve uses the LAPACK subroutines DGETRF, and ZGETRF if A is
- general.
-
- Solve uses the LAPACK subroutines DSYTRF, and ZHETRF if A is
- symmetric.
-
- The third and optional argument allows the user to overide the
- symmetry check, and force the solve to use either the general
- or the symmetric solver.
-
- TYPE = "g" or "G" The general solution is used.
-
- TYPE = "s" or "S" the symmetric solution is used.
-
- See Also: backsub, inv, factor, lu, rcond
-